/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 苹果工厂
 * @Description *
 * @Package designmodel.factorymodel.abstractFac.factory.concret
 * @date 2020/10/27 1:43 下午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.factorymodel.abstractFac.factory.concret;

import designmodel.factorymodel.abstractFac.factory.AbstractFactory;
import designmodel.factorymodel.abstractFac.model.AbstractPc;
import designmodel.factorymodel.abstractFac.model.AbstractPhone;
import designmodel.factorymodel.abstractFac.model.concret.ApplePhone;
import designmodel.factorymodel.abstractFac.model.concret.Mac;

public class AppleFactory implements AbstractFactory {
    @Override
    public AbstractPc makePc() {
        return new Mac();
    }

    @Override
    public AbstractPhone makePhone() {
        return new ApplePhone();
    }
}
